package com.itheima.health.dao;

import com.itheima.health.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberDao {

    Member findMemberByTelephone(String telephone);

    void add(Member member);

    Integer findMemberCountByRegTime(String regTime);

    Integer findTodayNewMember(String reportData);

    Integer findTotalMember();

    Integer findThisWeekNewMember(String day);

    List<Map<String, Object>> findMemberCount();

    List<Map<String, Object>> findMemberAgeCount();

}
